From: kfraser@localhost.localdomain Date: Thu, 16 Aug 2007 15:00:17 +0000 (+0100) Subject: Tack -m32/-m64 on HOSTCFLAGS when COMPILE_ARCH is x86. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14987^2~67^2~8 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=6fcad535ee3a47e3efee9a45bb6cb40b5ab76898;p=xen.git Tack -m32/-m64 on HOSTCFLAGS when COMPILE_ARCH is x86. Should fix building in Solaris environments. Signed-off-by: Keir Fraser --- diff --git a/Config.mk b/Config.mk index 529d9f0e21..16d6360cef 100644 --- a/Config.mk +++ b/Config.mk @@ -20,6 +20,9 @@ SHELL ?= /bin/sh HOSTCC = gcc HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer HOSTCFLAGS += -fno-strict-aliasing +HOSTCFLAGS_x86_32 = -m32 +HOSTCFLAGS_x86_64 = -m64 +HOSTCFLAGS += $(HOSTCFLAGS_$(XEN_COMPILE_ARCH)) DISTDIR ?= $(XEN_ROOT)/dist DESTDIR ?= /